T
IdeaBlade DevForce 2010 Help Reference
Deconstruct<T>(T,Boolean) Method
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > AnonymousFns Class > Deconstruct Method : Deconstruct<T>(T,Boolean) Method



item
shouldRecurse
Whether to recursively perform the same operation on any values in the anonymous type that are themselves instances of an anonymous type
Deconstruct an anonymous type into an object array.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function Deconstruct(Of T)( _
   ByVal item As T, _
   ByVal shouldRecurse As Boolean _
) As Object()
Visual Basic (Usage)Copy Code
Dim item As T
Dim shouldRecurse As Boolean
Dim value() As Object
 
value = AnonymousFns.Deconstruct(Of T)(item, shouldRecurse)
C# 
public static object[] Deconstruct<T>( 
   T item,
   bool shouldRecurse
)
C++/CLI 
public:
static array<Object^>^ Deconstructgeneric<typename T>
( 
   T^ item,
   bool shouldRecurse
) 

Parameters

item
shouldRecurse
Whether to recursively perform the same operation on any values in the anonymous type that are themselves instances of an anonymous type

Type Parameters

T

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.